<?php
class ModelPassword extends Model {
	public static function generate($max = 15, $min = 7) {
		return substr(sha1(uniqid(rand(), true)), $min, $max);
	}
}